package com.edu.internship.busi.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * code is far away from bug with the animal protecting
 *
 * @author longjihao
 * @description <p>student 实体类</p>
 * @date 2022-08-2
 */

@Data
@Accessors(chain = true)
@ApiModel
@TableName("t_student")
@NoArgsConstructor
@AllArgsConstructor
public class Student {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty("主键")
    private String id;
    @ApiModelProperty("学生名")
    private String studentName;
    @ApiModelProperty("学号")
    private String studentNumber;
    @ApiModelProperty("班级id")
    private String classId;
    @ApiModelProperty("性别")
    private String studentSex;

//    public Student(String id, String studentName,String studentNumber,String classId,String studentSex) {
//        this.id = id;
//        this.studentName = studentName;
//        this.studentNumber = studentNumber;
//        this.classId = classId;
//        this.studentSex = studentSex;
//    }
}
